Fixing minor UI bugs in Footnotes, Hero and SectionIntroStacked - #1385
Conversation
🦋 Changeset detectedLatest commit: 5953d24 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🟢 No design token changes found |
🟢 Bundle size report
|
There was a problem hiding this comment.
Pull request overview
This PR addresses a set of small UI/Storybook presentation fixes across Primer Brand components used in Flex templates, aligning component styling with the reported design adjustments (spacing, padding, and icon rounding), and improving dark-mode presentation for the ExpandableArrow Storybook stories.
Changes:
- Increased
SectionIntroStackedicon border-radius to match the updated spec (8px → 12px). - Adjusted
Herogridline-expressive column padding on narrow viewports, including reduced inline padding. - Reduced
Footnotesitem spacing (gap 24px → 12px) and wrappedExpandableArrowstories inTextto ensure correctcurrentColorbehavior in dark mode.
Show a summary per file
| File | Description |
|---|---|
| packages/react/src/SectionIntroStacked/SectionIntroStacked.module.css | Updates icon border-radius token usage to achieve 12px rounding. |
| packages/react/src/Hero/Hero.module.css | Tweaks narrow-viewport padding for expressive header/body columns to address alignment. |
| packages/react/src/Footnotes/Footnotes.module.css | Reduces vertical spacing between footnote items via gap. |
| packages/react/src/ExpandableArrow/ExpandableArrow.stories.tsx | Adds a Text decorator to set an appropriate inherited text color in dark mode; minor wrapper adjustment for hover story. |
| .changeset/section-intro-stacked-icon-radius.md | Changeset documenting the SectionIntroStacked icon radius adjustment (patch). |
| .changeset/hero-gridline-expressive-narrow-padding.md | Changeset documenting the Hero narrow padding adjustment (patch). |
| .changeset/footnotes-gap-reduce.md | Changeset documenting the Footnotes gap reduction (patch). |
Review details
- Files reviewed: 7/13 changed files
- Comments generated: 0
- Review effort level: Low
🟢 No unit test coverage changes foundAll components and hooks with tests maintain the same coverage as the main branch. |
🟢 No visual differences foundOur visual comparison tests did not find any differences in the UI. |
|
@rezrah I was going to add here, for the footer notes. lets align it to the content as well. please 🙏
|
|
@jesussandreas your screenshot is from the prod page, we'll need to apply that change in the flex template directly. cc. @rfearing could i leave that with you please? It looks like you'll need to apply the same
|


Summary
Towards https://github.com/github/brand-experience/issues/289
Fixes 5 reported ui bugs in flex suite templates and their deps.
Resolves https://github.com/orgs/github/projects/23995/views/5?pane=issue&itemId=196245989
Resolves https://github.com/orgs/github/projects/23995/views/5?pane=issue&itemId=196245548
Resolves https://github.com/orgs/github/projects/23995/views/5?pane=issue&itemId=192905495
Resolves https://github.com/orgs/github/projects/23995/views/5?pane=issue&itemId=196638860
Resolves https://github.com/orgs/github/projects/23995/views/5?pane=issue&itemId=185436715
List of notable changes:
gridline-expressivevariantWhat should reviewers focus on?
Steps to test:
Use the following links to verify changes:
Contributor checklist:
update snapshotslabel to the PR)Reviewer checklist:
Screenshots: